#!/usr/bin/python
# -*- coding: utf-8 -*-

# Copyright © 2008  Hedvig Kamp
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
import sys
import GameManager
import ConsoleController
import ConsoleViewer

class cscore:

    def __init__(self):
        print "Copyright (C) 2008 Free Software Foundation, Inc."
        print "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>"
        print "This is free software: you are free to change and redistribute it."
        print "There is NO WARRANTY, to the extent permitted by law."
        print ""
        print "Written by Hedvig Kamp."
        self.init_console_viewer()
        self.init_game_manager()
        self.init_console_controller(self.gm, self.cv)

    def init_console_controller(self, gm, cv):
        cc = ConsoleController.ConsoleController(gm, cv)
        return

    def init_console_viewer(self):
        self.cv = ConsoleViewer.ConsoleViewer()
        return

    def init_game_manager(self):
        self.gm = GameManager.GameManager()
        return
